<?php

/**
 * @version     CBE Controller userliste.php 2009.07.26
 * @package		CommunityBuilderEnhanced for Joomla 1.6
 * @subpackage 	Komponente
 * @author 		CBE Entwicklerteam
 * @link		http://www.joomla-cbe.de
 * @copyright 	Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license     GNU/GPL
 */
 
// No direct access
defined('_JEXEC') or die('Restricted access');
// import Joomla controller library
jimport('joomla.application.component.controller');
/**
 * CBE Userliste Controller
 *
 * @package    Joomla16.Tutorials
 * @subpackage Components
 */
class CbeControllerUserliste extends JController {
	/**
	 * display record(s)
	 * @return void
	 */
	public function display() {
		$model = & $this->getModel('userliste');
		$view = & $this->getView('userliste');
		$view->setModel($model, true);
		$view->display();
	}
	/**
	 * remove record(s)
	 * @return void
	 */
	/*function remove() {
		$model = $this->getModel('hellos');
		if ($model->remove()) {
			$msg = JText::_('HELLO_GREETINGS_REMOVED');
			$type = 'message';
		} else {
			$msg = JText::sprintf('HELLO_ONE_OR_MORE_GREETINGS_COULD_NOT_BE_DELETED',$model->getError());
			$type = 'error';
		}
		$this->setRedirect('index.php?option=com_hello', $msg, $type);
	}*/
}

